<?php

class TestController extends Controller
{
	public function actionIndex()
	{
	    $users = Yii::app()->db->createCommand()->from('user')->queryAll();
		exit(json_encode($users));
	}
}
